package com.chrray.position.domain.dto;

import com.chrray.position.enums.app.FdGenderEnum;
import com.chrray.position.enums.app.FdSalaryRangeEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author liujianxin
 * @date 2024/09/03 9:40
 */
@Data
public class JobRelWorkerDTO {
    @ApiModelProperty(value = "职位ID")
    private Long jobId;
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    @ApiModelProperty(value = "用户名称")
    private String userName;
    @ApiModelProperty(value = "竞聘状态:1-待录用/2-已录用/4已完工")
    private Integer relState;
    @ApiModelProperty(value = "用户头像")
    private String userAvatar;
    @ApiModelProperty(value = "用户电话")
    private String userPhone;
    @ApiModelProperty(value = "用户性别:0-男,1-女,3-不限")
    private Integer gender;
    @ApiModelProperty(value = "用户年龄")
    private Integer age;
    @ApiModelProperty(value = "用户期望薪资:1-面议 2-1000元以下3-1000-2000元4-2000-3000元5-3000-5000元6-5000-8000元7-8000-12000元8-12000-20000元9-20000-25000元10-25000元以上")
    private Integer expectedSalary;
    @ApiModelProperty(value = "距你多少公里")
    private Double distance;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date applyTime;
}
